hvmloader: don't clear acpi_info after filling in some fields
authorIan Campbell <ian.campbell@citrix.com>
Tue, 13 Sep 2011 09:22:03 +0000 (10:22 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 13 Sep 2011 09:22:03 +0000 (10:22 +0100)
commitd7d24473958dcf740d2366cbc574cf671e390dcc
tree18eb92f3a8cfb2a21842c740a48ac6ef84cb7fc3
parent4cb7001d843aaf1c317428f522bbe696456304cd
hvmloader: don't clear acpi_info after filling in some fields

In particular the madt_lapic0_addr and madt_csum_addr fields are
filled in while building the tables.

This fixes a bluescreen on shutdown with certain versions of Windows.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Reported-by: Christoph Egger <Christoph.Egger@amd.com>
Tested-and-acked-by: Christoph Egger <Christoph.Egger@amd.com>
tools/firmware/hvmloader/acpi/build.c